<?php
/**
 * SocialEngine
 *
 * @category   Application_Core
 * @package    Questionanswer
 * @copyright  Copyright 2006-2010 Webligo Developments
 * @license    http://www.socialengine.net/license/
 * @version    $Id: index.tpl 7244 2010-09-01 01:49:53Z john $
 * @author     John
 */
?>
<ul>
  <?php foreach( $this->topFriendQuestions as $question ): ?>  	
    <li style="clear:both;">
      <?php echo $question['user_photo'] ?>
      <div class='topquestions_info'>
        <div class='topquestions_name'>
          <?php echo $question['user_link'] ?>
        </div>
      </div>  
	  <div class='topquestions_content'>
          <?php $urlBase = $this->url(array('controller' => 'qa'), 'default', true); ?>       
          <?php echo $this->htmlLink($urlBase . '/' . $question['question_id'], $question['content'], array('style'=>'color:#999999')) ?>
      </div>
      <div style="margin: 3px 0 0 0;" class="entry_line"></div>
    </li>
  <?php endforeach; ?>
</ul>
